import { createApp } from 'vue'
import App from './App.vue'
import install from './install'
import './permission'
import './styles/index.scss'
import 'virtual:svg-icons-register'
import akTooltipAutoShow from '@/utils/akTooltipAutoShow.ts'
// const heights = document.documentElement.clientHeight
const app = createApp(App)
// app.config.globalProperties.$pingheight=heights
import nodeWrap from '@/views/financial/flow/components/nodeWrap.vue'
app.component('nodeWrap', nodeWrap) //初始化组件
import addNode from '@/views/financial/flow/components/addNode.vue'
app.component('addNode', addNode) //初始化组件

app.directive('ak-tooltip-auto-show', akTooltipAutoShow);
app.config.warnHandler=()=>null
app.use(install)
app.mount('#app')
